<button type="button" class="btn btn-sm btn-success btn-group pull-right" style="margin-right: 10px" data-toggle="modal" data-target="#yixiangModal">
查看下次意向
</button>
<!-- Modal -->
<div class="modal fade" id="yixiangModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">下次意向调查列表</h4>
      </div>
      <div id="yixiang" class="modal-body">
        <div class="box box-info">
            <div class="box-body">
              <div class="table-responsive">
                <table class="table no-margin">
                  <thead>
                  <tr>
                    <th>客户姓名</th>
                    <th>下次出游日期</th>
                    <th>下次出游类型</th>
                    <th>下次出游地点</th>
                    <th>录入时间</th>
                  </tr>
                  </thead>
                  <tbody>
                  @foreach($yixiangxiangqing as $value)
                    <tr>
                        <td>{{$value->customer_id}}</td>
                        <td>{{$value->date}}</td>
                        <td><span class="label label-success">{{$value->type}}</span></td>
                        <td>
                          <div class="sparkbar" data-color="#00a65a" data-height="20">{{$value->didian}}</div>
                        </td>
                        <td>{{$value->lurudate}}</td>
                    </tr>
                  @endforeach
                  </tbody>
                </table>
              </div>
            </div>
        </div>
      </div>
    </div>
  </div>
</div>